function columns(vm) {
  const cols = [
    {
      title: '序号',
      dataIndex: '',
      key: 'rowIndex',
      width: 60,
      align: 'center',
      customRender: function (t, r, index) {
        return parseInt(index) + 1
      }
    },
    {
      title: '编号',
      align: 'center',
      dataIndex: 'numbers',
      key: 'numbers'
    },
    {
      title: '报表对应关系',
      align: 'center',
      dataIndex: 'name',
      key: 'name'
    },
    {
      title: '事实表述',
      align: 'center',
      dataIndex: 'wtms',
      key: 'wtms',
      scopedSlots: {customRender: 'wtms'},
    },
    {
      title: '定性',
      align: 'center',
      dataIndex: 'dingxing',
      key: 'dingxing'
    },
    {
      title: '涉及金额(万元)',
      align: 'center',
      dataIndex: 'tjsjje',
      key: 'tjsjje'
    },
    {
      title: '定性法规依据',
      align: 'center',
      dataIndex: 'dxyj',
      key: 'dxyj',
      scopedSlots: {customRender: 'dxyj'},
    },
    {
      title: '责任界定',
      align: 'center',
      dataIndex: 'zrjd',
      key: 'zrjd',
      scopedSlots: {customRender: 'zrjd'},
    },
    {
      title: '整改建议',
      align: 'center',
      dataIndex: 'zgjy',
      key: 'zgjy',
      scopedSlots: {customRender: 'zgjy'},
    },
    {
      dataIndex: 'action',
      align: 'center',
      slots: { title: 'actionName' },
      scopedSlots: {customRender: 'action'}
    }
  ]
  return cols
}

export default columns